<?php if(App\Components\MenuTools::isShowMenu(['/admin/talent/list/index','/admin/talent/list/info'])): ?>
<?php if((isset($talent_list_index) && $talent_list_index) || (isset($talent_list_info) && $talent_list_info) ): ?>
<li class="active treeview">
  <?php else: ?>
<li class="treeview">
  <?php endif; ?>
  <a href="#"><i class="fa fa-mortar-board"></i> <span>达人管理中心</span>
    <span class="pull-right-container">
      <i class="fa fa-angle-left pull-right"></i>
    </span>
  </a>
  <ul class="treeview-menu">
    <?php if(App\Components\MenuTools::isShowMenu(['/admin/user/list/info'])): ?>
    <li <?php if((isset($talent_list_index) && $talent_list_index)): ?>class="active" <?php endif; ?>><a href="/admin/talent/list/index"><i class="fa fa-circle-o"></i>审核列表</a></li>
    <?php endif; ?>
    <?php if(App\Components\MenuTools::isShowMenu(['/admin/user/list/index'])): ?>
    <li <?php if((isset($talent_list_info) && $talent_list_info)): ?>class="active" <?php endif; ?>><a href="/admin/talent/list/info"><i class="fa fa-circle-o"></i>达人列表</a></li>
    <?php endif; ?>
  </ul>
</li>
<?php endif; ?>
